All Questions
3 questions
3votes
1answer
158views
What is the standard method of handling errors in a NodeJS web app?
I am currently working on a web application as a learning project, which has a NodeJS backend and uses a MongoDB database; however, I believe my question is not specific to the technologies I am using....
7votes
3answers
13kviews
Why is it a good practice to keep Javascript code in separate files?
In web development we are commonly used to keep Javascript code in separate files, but sometimes we need this Javascript code to manipulate server side data locally. For example, making an Ajax Call ...
13votes
1answer
17kviews
How frequent should the Token Updation in CSRF security be?
To start with the background, this post is what Jeff Atwood says about CSRF tokens. In this very page, he goes on to say: An even stronger, albeit more complex, prevention method is to leverage ...